/**
 *
 * Copyright (C) 2007 iPhone Dev Team  
 *
 *    Unlock Authors: Daeken, gray, iZsh, Sam
 *    UI Development: Erica, kroo, darkten
 *	  RCE: roxfan, daeken, darkmen, gray, iZsh, Sam  
 *    Coop: pytey, uns, zappaz, Zf, guest184, leachbj
 *	  Art: Wheat, darkten
 *
 *    Paypal donation and contact -> iphone.devteam@gmail.com
 *
 *	  For further information check http://www.hackint0sh.org
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

/* Old Header:

  iUnlock v4243.AutoSpeedy -- Copyright 2007 The dev team

  Credits: Daeken, Darkmen, guest184, gray, iZsh, leachbj, pytey, roxfan, Sam, uns, zappaz, Zf
  Paypal donation to iphone.devteam@gmail.com
 
  All code, information or data [from now on "data"] available
  from the "iPhone dev team" [1] or any other project linked from
  this or other pages is owned by the creator who created the data.
  The copyright, license right, distribution right and any other
  rights lies with the creator.
  
  It is prohibitied to use the data without the written agreement
  of the creator. This included using ideas in other projects
  (commercial or not commercial).
  
  Where data was created by more than 1 creator a written agreement
  from each of the creators has to be obtained.

  Punishment: Monkeys coming out of your ass Bruce Almighty style.

  [1] http://iphone.fiveforty.net/wiki/index.php?title=Main_Page
*/

#import <CoreFoundation/CoreFoundation.h>
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <UIKit/UIProgressBar.h>
#import <CoreGraphics/CGGeometry.h>
#import <UIKit/UINavigationBar.h>

@class SliderButton;

@interface Unlock : UIApplication {
UIAlertSheet *progressWindow;
UIProgressBar *theProgress;
UINavigationBar *navBar;
UIWindow *window;
}
-(void)setProgress:(NSArray *)arg;
-(void)showReadme;
-(void)exitUnlockWithErrorMessage:(NSString *)awDang;
@end

@interface SliderControl : UIView {
  UIImageView *shinyv;
  SliderButton *slider;
  UIImageView *blankbgv;
  SEL callback_sel;
  NSObject *callback_obj;
}
- (void)heartbeatCallback:(id)unused;
- (void)registerCallback:(SEL)sel forId:(NSObject *)obj;
- (void)callback;
@end

@interface SliderButton : UIImageView {
  SliderControl *app;
  float x;
  float setX;
  
  BOOL mouseDown;
}

-(id)initWithSlider:(SliderControl *)appl;
-(BOOL)mouseStatus;
-(BOOL)fullLeft;
-(void)moveLeft;
-(double)x;

@end

@interface Lock : UIView {
}

@end

@interface Dial : UIImageView {
	Lock *app;
	double theta;
}

-(id)initWithLock:(Lock *)lock;
@end
